<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Render Function</title>
</head>
<body>
    <h2>需要使用渲染函数来完成一个基于标题数组的组件</h2>
    <div id="app">
        <example :tags="['h1','h2','h3','h4']"></example>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script src="./5、渲染函数.js"></script>
</body>
</html>